﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DevExpress.XtraNavBar;

namespace QLCONGNOLIBS.Ultils
{
    public class Ultis_DungDD
    {
        public Ultis_DungDD()
        {
            
        }
        public static Ultis_DungDD Instance = new Ultis_DungDD();
        public void FocusNavBarItem(NavBarItem objNavBarItem)
        {
            objNavBarItem.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold);
            objNavBarItem.Appearance.ForeColor = System.Drawing.Color.Chocolate;
            objNavBarItem.Appearance.Options.UseFont = true;
            objNavBarItem.Appearance.Options.UseForeColor = true;
        }

        public void Non_FocusNavBarItem(NavBarItem objNavBarItem)
        {
            objNavBarItem.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
            objNavBarItem.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
            objNavBarItem.Appearance.Options.UseFont = true;
            objNavBarItem.Appearance.Options.UseForeColor = true;
        }
    }
}
